import request from '@/utils/request'

export function getPaperList(query) {
  if(query != undefined){
    query = JSON.parse(JSON.stringify(query))
  }
  return request({
    url: '/examine/admin/paper/getList',
    method: 'post',
    data: query
  })
}   

export function savePaper(query) {
  return request({
    url: '/examine/admin/paper/save',
    method: 'post',
    data: query
  })
}

export function copyPaper(query) {
  return request({
    url: '/examine/admin/paper/copy',
    method: 'post',
    data: query
  })
}

export function removePaper(query) {
  return request({
    url: '/examine/admin/paper/remove',
    method: 'post',
    data: query
  })
}
export function getPaperDetail(query) {
  if(query != undefined){
    query = JSON.parse(JSON.stringify(query))
  }
  return request({
    url: '/examine/admin/paper/getDetail',
    method: 'post',
    data: query
  })
}